package com.shlh.saas.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.util.Date;

@TableName("user_email")
@Data
public class UserEmail {

    private Long id;

    private Long userId;

    private String email;

    private String emailPassword;

    private int emailState;
    
    private String emailProvider;
    
    // Outlook OAuth字段
    private String clientId;
    
    private String tenantId;
    
    private String redirectUri;
    
    private String clientSecret;

    private Date createdTime;

    private Date updateTime;

    private String accessToken;

    private String refreshToken;

    private Date tokenExpireAt;

}
